<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>仓库管理</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
	<script src="__PUBLIC__/js/jquery.validate.js"></script>
	<!-- <script src="__PUBLIC__/js/jquery.metadata.js"></script> -->
    <script src="__PUBLIC__/js/messages_cn.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/Css/jquery.validate.css" />
	<link rel="stylesheet" href="__PUBLIC__/Css/jquery.mobile-1.2.0.css" />		
	<script src="__PUBLIC__/js/jquery.mobile-1.2.0.js"></script>
    <script type="text/javascript">
      $().ready(function() {
    	 $("#storemanage").validate();  
    	});
    </script>
</head>
<body>
<div data-role="page"> 
　<div data-role="header" data-position="fixed">　<a href="__URL__/index" rel="external" data-icon="back" data-role="button" >后退</a>
           <div style="text-align:center;" >添加仓库</div>   
           <a href="#" data-role="button" data-icon="refresh">刷新</a></div> 
　 <div data-role="content">
  <form method="post" action="__URL__/insert" data-ajax="false" id="customer" class="validate">
   <input type="hidden" name="userid" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>   
   <input type="hidden" name="storename" value="<?php echo $_REQUEST['name'] ?>"/>       
  <table align="center">	      
			<tr>
			<td>
			<label><em>*</em>接货员：</label>
			</td>
			<td>
				<select name="whp" class="required combox">
					<option value="" selected>请选择(必填)</option>
					<volist name="user" id="vo">
					<option value="{$vo.fullname}">{$vo.fullname}</option>
					</volist>
				</select>
				</td>
				</tr>
			<tr>
			<td><label>存库(kg)：</label></td>
			<td><input type="text" name="stock"></td>
			</tr>
			<tr>
			<td>
			<label style="margin-right: 10px;"><em>*</em>存放产品：</label>
			</td>
			<td>
				<select name="product" class="required combox">
					<option value="" selected>请选择(必填)</option>
					<volist name="goods" id="vo">
					<option value="{$vo.goodsname}">{$vo.goodsname}</option>
					</volist>
				</select>
				</td>
				</tr>
			<tr>
			<td colspan="2">
			<div data-type="horizontal" data-role="controlgroup"  style="text-align:center;">
			<input type="submit" value="保存" data-icon="check"/>
			<a href="__URL__/index" rel="external" data-icon="back" data-role="button" >取消</a>
			</div></td>
			</tr>
</table>
</form>
</div> 
</div>
</body>
</html>